﻿<UserControl x:Class="WeatherFrame.InfoPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="26"
    Foreground="White" 
    d:DesignHeight="480" d:DesignWidth="800">
    <UserControl.Resources>
        <ControlTemplate x:Key="RoundButton" TargetType="ButtonBase">
            <Border Padding="{StaticResource PhoneTouchTargetOverhang}" Margin="0,0,4,0" Background="#01000000">
                <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" 
                                        Background="{TemplateBinding Background}" CornerRadius="24" 
Height="48"                     >
                    <ContentControl x:Name="ContentContainer" Content="{TemplateBinding Content}"/>
                </Border>
            </Border>
        </ControlTemplate>
    </UserControl.Resources>
    <Grid  Background="#666666">
        <StackPanel Orientation="Vertical" Margin="30,5,20,20">
        <TextBlock TextWrapping="Wrap">
            <Run FontSize="60">about</Run>
            </TextBlock>
         <TextBlock TextWrapping="Wrap" Margin="0,10,0,0" Opacity="0.8">
            <Run FontWeight="Bold" Text="weatherframe " />
            <Run> is a free app by John Winn.</Run>
        </TextBlock>
            <TextBlock TextWrapping="Wrap" Margin="0,15,0,0" Opacity="0.8">
            <Run>Thank you to all the generous Flickr users who made their weather photos available through
                the Creative Commons license.  If you want </Run>
            <Run FontStyle="Italic" Text=" your  "/><Run> Flickr photos to appear in weatherframe, use a Creative Commons license and add the tag 'weatherframe'.</Run>
        </TextBlock>
            <TextBlock TextWrapping="Wrap" Margin="0,15,0,0" Opacity="0.8">
            <Run>Weather information is provided by World Weather Online. If the 'Allow use of my location' option is on, your location will be
                sent to World Weather Online when retrieving weather data. </Run>
        </TextBlock>
            <TextBlock HorizontalAlignment="Right" TextWrapping="Wrap" Margin="0,40,0,0" Opacity="0.8">
                <Run FontSize="12">Version 1.1, 29th April 2011</Run>
            </TextBlock>
        </StackPanel>
        <Button  Template="{StaticResource RoundButton}" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="30,15" Click="Button_Click">
            <TextBlock Margin="25,0">close</TextBlock>
        </Button>

    </Grid>

</UserControl>
